package com.huitu.whht.base.core.api.sms.b.entities;

import com.huitu.whht.api.core.common.base.BaseQo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 说明: 短信基本信息表查询条件实体类,表名称: T_WHHT_SMS_B <br/>
 * 日期: 2019-04-15
 * @author LiuCW
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SmsBQo extends BaseQo {

private static final long serialVersionUID = 4L;

    public SmsBQo(){

    }

    /**
      * (数组)短信编码
      */
    public List<String> smsCdList;
    /**
      * 短信编码
      */
    public String smsCd;
    /**
      * 短信正文
      */
    public String smsContent;
    /**
      * (开始时间)短信发送时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime smsSendTmBgTm;
    /**
      * (结束时间)短信发送时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime smsSendTmEdTm;
    /**
      * (数组)短信模板类型(0,其它;1,红线预警)
      */
    public List<String> smsTpList;
    /**
      * (数组)预警等级(0,非预警;1,红色预警;2,橙色预警;3.黄色预警;4,蓝色预警)
      */
    public List<String> warnGradeList;
    /**
      * (数组)短信发送的目标政区
      */
    public List<String> adCdList;
    /**
      * 短信发送的目标政区
      */
    public String adCd;
    /**
      * (数组)短信发送用户ID(-1,指系统自身发送;)
      */
    public List<String> userIdList;
    /**
      * 短信发送用户ID(-1,指系统自身发送;)
      */
    public String userId;
    /**
      * (开始时间)时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime tsBgTm;
    /**
      * (结束时间)时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    public LocalDateTime tsEdTm;
    /**
      * 备注
      */
    public String nt;
}